﻿#pragma once

#include "BlockAreaController.h"


class GameSystem
{
public:

protected:
	CWnd *m_pParent;
	BlockAreaController BAC;

public:
	
	void SetCWnd(CWnd *pParent){m_pParent = pParent;}
	void NewGame();
	void Win();
	void Lose();
	void ReSetGame();
	void EndGame();
	void HandlingEvents();
	//TODO:时间事件，其他各种事件

	void ButtonEvent( UINT uId, ButtonEventId EventId );
};